home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMHTMLScriptElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  8KB  |  227 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMHTMLScriptElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMHTMLScriptElement_h__
  6. #define __gen_nsIDOMHTMLScriptElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMHTMLElement_h__
  10. #include "nsIDOMHTMLElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMHTMLScriptElement */
  19. #define NS_IDOMHTMLSCRIPTELEMENT_IID_STR "a6cf90b1-15b3-11d2-932e-00805f8add32"
  20.  
  21. #define NS_IDOMHTMLSCRIPTELEMENT_IID \
  22.   {0xa6cf90b1, 0x15b3, 0x11d2, \
  23.     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  24.  
  25. /**
  26.  * The nsIDOMHTMLScriptElement interface is the interface to a [X]HTML
  27.  * script element.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-HTML/
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMHTMLScriptElement : public nsIDOMHTMLElement {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLSCRIPTELEMENT_IID)
  38.  
  39.   /* attribute DOMString text; */
  40.   NS_IMETHOD GetText(nsAString & aText) = 0;
  41.   NS_IMETHOD SetText(const nsAString & aText) = 0;
  42.  
  43.   /* attribute DOMString htmlFor; */
  44.   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) = 0;
  45.   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) = 0;
  46.  
  47.   /* attribute DOMString event; */
  48.   NS_IMETHOD GetEvent(nsAString & aEvent) = 0;
  49.   NS_IMETHOD SetEvent(const nsAString & aEvent) = 0;
  50.  
  51.   /* attribute DOMString charset; */
  52.   NS_IMETHOD GetCharset(nsAString & aCharset) = 0;
  53.   NS_IMETHOD SetCharset(const nsAString & aCharset) = 0;
  54.  
  55.   /* attribute boolean defer; */
  56.   NS_IMETHOD GetDefer(PRBool *aDefer) = 0;
  57.   NS_IMETHOD SetDefer(PRBool aDefer) = 0;
  58.  
  59.   /* attribute DOMString src; */
  60.   NS_IMETHOD GetSrc(nsAString & aSrc) = 0;
  61.   NS_IMETHOD SetSrc(const nsAString & aSrc) = 0;
  62.  
  63.   /* attribute DOMString type; */
  64.   NS_IMETHOD GetType(nsAString & aType) = 0;
  65.   NS_IMETHOD SetType(const nsAString & aType) = 0;
  66.  
  67. };
  68.  
  69. /* Use this macro when declaring classes that implement this interface. */
  70. #define NS_DECL_NSIDOMHTMLSCRIPTELEMENT \
  71.   NS_IMETHOD GetText(nsAString & aText); \
  72.   NS_IMETHOD SetText(const nsAString & aText); \
  73.   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor); \
  74.   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor); \
  75.   NS_IMETHOD GetEvent(nsAString & aEvent); \
  76.   NS_IMETHOD SetEvent(const nsAString & aEvent); \
  77.   NS_IMETHOD GetCharset(nsAString & aCharset); \
  78.   NS_IMETHOD SetCharset(const nsAString & aCharset); \
  79.   NS_IMETHOD GetDefer(PRBool *aDefer); \
  80.   NS_IMETHOD SetDefer(PRBool aDefer); \
  81.   NS_IMETHOD GetSrc(nsAString & aSrc); \
  82.   NS_IMETHOD SetSrc(const nsAString & aSrc); \
  83.   NS_IMETHOD GetType(nsAString & aType); \
  84.   NS_IMETHOD SetType(const nsAString & aType); 
  85.  
  86. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  87. #define NS_FORWARD_NSIDOMHTMLSCRIPTELEMENT(_to) \
  88.   NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
  89.   NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); } \
  90.   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
  91.   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) { return _to SetHtmlFor(aHtmlFor); } \
  92.   NS_IMETHOD GetEvent(nsAString & aEvent) { return _to GetEvent(aEvent); } \
  93.   NS_IMETHOD SetEvent(const nsAString & aEvent) { return _to SetEvent(aEvent); } \
  94.   NS_IMETHOD GetCharset(nsAString & aCharset) { return _to GetCharset(aCharset); } \
  95.   NS_IMETHOD SetCharset(const nsAString & aCharset) { return _to SetCharset(aCharset); } \
  96.   NS_IMETHOD GetDefer(PRBool *aDefer) { return _to GetDefer(aDefer); } \
  97.   NS_IMETHOD SetDefer(PRBool aDefer) { return _to SetDefer(aDefer); } \
  98.   NS_IMETHOD GetSrc(nsAString & aSrc) { return _to GetSrc(aSrc); } \
  99.   NS_IMETHOD SetSrc(const nsAString & aSrc) { return _to SetSrc(aSrc); } \
  100.   NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  101.   NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } 
  102.  
  103. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  104. #define NS_FORWARD_SAFE_NSIDOMHTMLSCRIPTELEMENT(_to) \
  105.   NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
  106.   NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
  107.   NS_IMETHOD GetHtmlFor(nsAString & aHtmlFor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlFor(aHtmlFor); } \
  108.   NS_IMETHOD SetHtmlFor(const nsAString & aHtmlFor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlFor(aHtmlFor); } \
  109.   NS_IMETHOD GetEvent(nsAString & aEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEvent(aEvent); } \
  110.   NS_IMETHOD SetEvent(const nsAString & aEvent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEvent(aEvent); } \
  111.   NS_IMETHOD GetCharset(nsAString & aCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharset(aCharset); } \
  112.   NS_IMETHOD SetCharset(const nsAString & aCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharset(aCharset); } \
  113.   NS_IMETHOD GetDefer(PRBool *aDefer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefer(aDefer); } \
  114.   NS_IMETHOD SetDefer(PRBool aDefer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefer(aDefer); } \
  115.   NS_IMETHOD GetSrc(nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrc(aSrc); } \
  116.   NS_IMETHOD SetSrc(const nsAString & aSrc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSrc(aSrc); } \
  117.   NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  118.   NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } 
  119.  
  120. #if 0
  121. /* Use the code below as a template for the implementation class for this interface. */
  122.  
  123. /* Header file */
  124. class nsDOMHTMLScriptElement : public nsIDOMHTMLScriptElement
  125. {
  126. public:
  127.   NS_DECL_ISUPPORTS
  128.   NS_DECL_NSIDOMHTMLSCRIPTELEMENT
  129.  
  130.   nsDOMHTMLScriptElement();
  131.  
  132. private:
  133.   ~nsDOMHTMLScriptElement();
  134.  
  135. protected:
  136.   /* additional members */
  137. };
  138.  
  139. /* Implementation file */
  140. NS_IMPL_ISUPPORTS1(nsDOMHTMLScriptElement, nsIDOMHTMLScriptElement)
  141.  
  142. nsDOMHTMLScriptElement::nsDOMHTMLScriptElement()
  143. {
  144.   /* member initializers and constructor code */
  145. }
  146.  
  147. nsDOMHTMLScriptElement::~nsDOMHTMLScriptElement()
  148. {
  149.   /* destructor code */
  150. }
  151.  
  152. /* attribute DOMString text; */
  153. NS_IMETHODIMP nsDOMHTMLScriptElement::GetText(nsAString & aText)
  154. {
  155.     return NS_ERROR_NOT_IMPLEMENTED;
  156. }
  157. NS_IMETHODIMP nsDOMHTMLScriptElement::SetText(const nsAString & aText)
  158. {
  159.     return NS_ERROR_NOT_IMPLEMENTED;
  160. }
  161.  
  162. /* attribute DOMString htmlFor; */
  163. NS_IMETHODIMP nsDOMHTMLScriptElement::GetHtmlFor(nsAString & aHtmlFor)
  164. {
  165.     return NS_ERROR_NOT_IMPLEMENTED;
  166. }
  167. NS_IMETHODIMP nsDOMHTMLScriptElement::SetHtmlFor(const nsAString & aHtmlFor)
  168. {
  169.     return NS_ERROR_NOT_IMPLEMENTED;
  170. }
  171.  
  172. /* attribute DOMString event; */
  173. NS_IMETHODIMP nsDOMHTMLScriptElement::GetEvent(nsAString & aEvent)
  174. {
  175.     return NS_ERROR_NOT_IMPLEMENTED;
  176. }
  177. NS_IMETHODIMP nsDOMHTMLScriptElement::SetEvent(const nsAString & aEvent)
  178. {
  179.     return NS_ERROR_NOT_IMPLEMENTED;
  180. }
  181.  
  182. /* attribute DOMString charset; */
  183. NS_IMETHODIMP nsDOMHTMLScriptElement::GetCharset(nsAString & aCharset)
  184. {
  185.     return NS_ERROR_NOT_IMPLEMENTED;
  186. }
  187. NS_IMETHODIMP nsDOMHTMLScriptElement::SetCharset(const nsAString & aCharset)
  188. {
  189.     return NS_ERROR_NOT_IMPLEMENTED;
  190. }
  191.  
  192. /* attribute boolean defer; */
  193. NS_IMETHODIMP nsDOMHTMLScriptElement::GetDefer(PRBool *aDefer)
  194. {
  195.     return NS_ERROR_NOT_IMPLEMENTED;
  196. }
  197. NS_IMETHODIMP nsDOMHTMLScriptElement::SetDefer(PRBool aDefer)
  198. {
  199.     return NS_ERROR_NOT_IMPLEMENTED;
  200. }
  201.  
  202. /* attribute DOMString src; */
  203. NS_IMETHODIMP nsDOMHTMLScriptElement::GetSrc(nsAString & aSrc)
  204. {
  205.     return NS_ERROR_NOT_IMPLEMENTED;
  206. }
  207. NS_IMETHODIMP nsDOMHTMLScriptElement::SetSrc(const nsAString & aSrc)
  208. {
  209.     return NS_ERROR_NOT_IMPLEMENTED;
  210. }
  211.  
  212. /* attribute DOMString type; */
  213. NS_IMETHODIMP nsDOMHTMLScriptElement::GetType(nsAString & aType)
  214. {
  215.     return NS_ERROR_NOT_IMPLEMENTED;
  216. }
  217. NS_IMETHODIMP nsDOMHTMLScriptElement::SetType(const nsAString & aType)
  218. {
  219.     return NS_ERROR_NOT_IMPLEMENTED;
  220. }
  221.  
  222. /* End of implementation class template. */
  223. #endif
  224.  
  225.  
  226. #endif /* __gen_nsIDOMHTMLScriptElement_h__ */
  227.